package com.imooc.redis;

public class MiaoshaUserKey extends BasePrefix {
	
	private static final int TOKEN_EXPIRE = 3600*24*2; // token有效期2天
	
	public MiaoshaUserKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}
	
	public static MiaoshaUserKey TOKEN = new MiaoshaUserKey(TOKEN_EXPIRE, "tk");

}
